<?php

namespace app\controllers;

use Yii;
use yii\filters\AccessControl;
use yii\web\Controller;
use yii\filters\VerbFilter;
use app\models\LoginForm;
use app\models\ContactForm;

class ResourceController extends AuthController
{
    public $currentHeader = 'header-resource';

    public function actionIndex()
    {
        return $this->render('index', ['currentHeader'=> $this->currentHeader]);
    }

    public function actionCreativeTemplate()
    {
        return $this->render('creativeTemplate', ['currentHeader'=> $this->currentHeader]);
    }

    public function actionPeriodDeal()
    {
        return $this->render('periodDeal', ['currentHeader'=> $this->currentHeader]);
    }

    public function actionNewCreativeTemplate()
    {
        return $this->render('newCreativeTemplate', ['currentHeader'=> $this->currentHeader]);
    }

    public function actionNewPeriodDeal()
    {
        return $this->render('newPeriodDeal', ['currentHeader'=> $this->currentHeader]);
    }
}//eof
